package com.yc.qunxing.clients;

import com.yc.qunxing.clients.impl.IndexActionImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient(value = "qunxing-index", fallback = IndexActionImpl.class)
@Component
public interface IndexAction {

    @RequestMapping("index/user")
    String index();
}
